package com.example.cyw.news;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;

public class LogActivity extends AppCompatActivity {
    private EditText ed_phone,ed_code;
    private Button btn_sendcode,btn_login;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_log);
        initView();
        btn_login.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                get_code();
            }
        });
    }

    private void get_code() {
        
    }

    private void initView() {
        ed_phone= (EditText) findViewById(R.id.ed_phone);
        ed_code= (EditText) findViewById(R.id.ed_code);
        btn_sendcode= (Button) findViewById(R.id.btn_sendcode);
        btn_login= (Button) findViewById(R.id.btn_login);
    }
}
